from math import factorial as f

# 请在此输入您的代码
n, m = map(int, input().split())

k = n - 4 * m
MODE = 998244353
if k >= m:
    result = f(k + 1) // (f(k + 1 - m) * f(m))
    result %= MODE
else:
    result = f(m + 1) // (f(m + 1 - k) * f(k))
    result %= MODE
result = result * pow(10, k, MODE)
result %= MODE
print(result)
